package cn.nb12.xbox.service.impl;
import java.util.List;
import cn.nb12.xbox.dao.QuerynameDao;
import cn.nb12.xbox.po.Queryname;
import cn.nb12.xbox.utils.Assist;
import cn.nb12.xbox.service.QuerynameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class QuerynameServiceImpl implements QuerynameService{
    @Autowired
    private QuerynameDao querynameDao;
    @Override
    public long getQuerynameRowCount(Assist assist){
        return querynameDao.getQuerynameRowCount(assist);
    }
    @Override
    public List<Queryname> selectQueryname(Assist assist){
        return querynameDao.selectQueryname(assist);
    }
    @Override
    public Queryname selectQuerynameByObj(Queryname obj){
        return querynameDao.selectQuerynameByObj(obj);
    }
    @Override
    public Queryname selectQuerynameById(String id){
        return querynameDao.selectQuerynameById(id);
    }
    @Override
    public int insertQueryname(Queryname value){
        return querynameDao.insertQueryname(value);
    }
    @Override
    public int insertNonEmptyQueryname(Queryname value){
        return querynameDao.insertNonEmptyQueryname(value);
    }
    @Override
    public int insertQuerynameByBatch(List<Queryname> value){
        return querynameDao.insertQuerynameByBatch(value);
    }
    @Override
    public int deleteQuerynameById(String id){
        return querynameDao.deleteQuerynameById(id);
    }
    @Override
    public int deleteQueryname(Assist assist){
        return querynameDao.deleteQueryname(assist);
    }
    @Override
    public int updateQuerynameById(Queryname enti){
        return querynameDao.updateQuerynameById(enti);
    }
    @Override
    public int updateQueryname(Queryname value, Assist assist){
        return querynameDao.updateQueryname(value,assist);
    }
    @Override
    public int updateNonEmptyQuerynameById(Queryname enti){
        return querynameDao.updateNonEmptyQuerynameById(enti);
    }
    @Override
    public int updateNonEmptyQueryname(Queryname value, Assist assist){
        return querynameDao.updateNonEmptyQueryname(value,assist);
    }

    public QuerynameDao getQuerynameDao() {
        return this.querynameDao;
    }

    public void setQuerynameDao(QuerynameDao querynameDao) {
        this.querynameDao = querynameDao;
    }

}